// Device/pages/Bind/Verify/components/tyfall-component/index.js
Component({
    properties: {
        componentData: {
            default: {},
            type: Object
        }
    },
    observers: {
        'componentData': function (value) {
            if (value) {
                this.setData({
                    ...value
                })
            }
        }
    },
    data: {
        height: 150
    },
    methods: {
        onDxChange(e) {
            this.setData({
                [`${e.currentTarget.dataset.type}`]: e.detail
            })
        },
        onNavigate() {
            this.triggerEvent('navigate')
        }
    }
})